package com.ppm.server.company;

import com.ppm.server.base.BaseConf;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.context.properties.EnableConfigurationProperties;
import org.springframework.cloud.netflix.eureka.EnableEurekaClient;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.scheduling.annotation.EnableAsync;

/**
 * @author KwokChiKit
 * @date 2021/4/15 17:38
 * @Description company服务启动器
 */
@SpringBootApplication(scanBasePackageClasses = {BaseConf.class, CompanyApplication.class})
@EnableConfigurationProperties
@EnableAsync
@EnableFeignClients
@EnableEurekaClient
public class CompanyApplication {
    public static void main(String[] args) {
        try {
            SpringApplication.run(CompanyApplication.class);
        } catch (Exception e) {
            e.printStackTrace();
        }
    }
}
